
<?php
/*
Single Post Template: Post - Press Release
*/
?>

<?php get_header() ?>

	<div id="container">
    
    	<?php include('breadcrumbs.php'); ?>
    
		<div id="content">

<?php the_post() ?>

			<div id="post-<?php the_ID() ?>" class="<?php sandbox_post_class() ?>">
				<h2 class="entry-title"><?php the_title() ?></h2>
                <?php include ('socialbuttons.php'); ?>
				<div class="entry-content rp-content">
                
                	<!-- Begin Main Image -->
                    
                    	<?php
                        if(get_post_meta($post->ID, "MainImg", true)) {include('pr-featured-image.php') ;
						}else {
							include('pr-generic-image.php') ;
						}
						?>
                    
                    		<!-- <img src="<?php echo get_post_meta($post->ID, "MainImg", true);?>" align="right" width="300" alt="<?php the_title(); ?> Main Image" style="margin-left: 20px; margin-bottom: 10px; border: #cccccc 3px solid;" /> -->

                    <div id="main-image-caption">
                    	<p><em><?php the_title(); ?></em></p>
                    </div>
                    <!-- End Reference Project Main Image -->
                    
					<?php the_content() ?>
                    
                    <?php include('pr-socialfooter.php'); ?>
                    
                    <!-- End Additional Images Section -->
                    
                    <!-- INCLUDE END OF PAGE CTA BLOCK IF THE PAGE HAS A CTA URL -->
                    <?php if(get_post_meta($post->ID, "ctaURL", true)){ include('inpagecta.php') ; } ?>
					
                    <?php include 'facebook-comments.php'; ?>
                    
				</div>
			</div><!-- .post -->

		</div><!-- #content -->
	</div><!-- #container -->

<?php get_sidebar() ?>
<?php get_footer() ?>